User.DefaultSchema Property

 

Gets the default schema for the database user.

This API is not CLS-compliant.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)]
[SfcReferenceAttribute(typeof(Schema), "Server[@Name = '{0}']/Database[@Name = '{1}']/Schema[@Name = '{2}']", 
	new string[] { ... })]
[CLSCompliantAttribute(false)]
public string DefaultSchema { get; set; }

Property Value

Type: System.String

A String value that specifies the default schema for the database user.

Return to top
Show: