ScriptSchemaObjectBase.Schema Property
Gets or sets the schema.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
<SfcKeyAttribute()> _
Public Property Schema As String
Get
Set
'Usage
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)
Property Value
Type: System.String
A String value that specifies the schema.