共用方式為


AlterSchemaStatement.ObjectKind 屬性

Gets or sets the object kind.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property ObjectKind As SecurityObjectKind 
    Get 
    Set
'用途
Dim instance As AlterSchemaStatement 
Dim value As SecurityObjectKind 

value = instance.ObjectKind

instance.ObjectKind = value
public SecurityObjectKind ObjectKind { get; set; }
public:
property SecurityObjectKind ObjectKind {
    SecurityObjectKind get ();
    void set (SecurityObjectKind value);
}
member ObjectKind : SecurityObjectKind with get, set
function get ObjectKind () : SecurityObjectKind 
function set ObjectKind (value : SecurityObjectKind)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.SecurityObjectKind
The object kind.

請參閱

參考

AlterSchemaStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間