共用方式為


Schema 屬性

Gets or sets the schema.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
<SfcKeyAttribute()> _
Public Property Schema As String
    Get
    Set
'用途
Dim instance As ScriptSchemaObjectBase
Dim value As String

value = instance.Schema

instance.Schema = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
[SfcKeyAttribute()]
public string Schema { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
[SfcKeyAttribute()]
public:
property String^ Schema {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
[<SfcKeyAttribute()>]
member Schema : string with get, set
function get Schema () : String
function set Schema (value : String)

屬性值

型別:System. . :: . .String
A String value that specifies the schema.

範例

指令碼