Bagikan melalui


SqlSmoObject.GetDisabledProperties(ScriptingPreferences) Method

Definition

Provides an enumerable of properties that are explicitly disabled for specific server types or editions. This is not a list of all properties that don't work for the specified target.

public System.Collections.Generic.IEnumerable<string> GetDisabledProperties (Microsoft.SqlServer.Management.Smo.ScriptingPreferences sp = default);
member this.GetDisabledProperties : Microsoft.SqlServer.Management.Smo.ScriptingPreferences -> seq<string>
Public Iterator Function GetDisabledProperties (Optional sp As ScriptingPreferences = Nothing) As IEnumerable(Of String)

Parameters

sp
ScriptingPreferences

Scripting preferences to get server info from. If null, it will default to server info of the current object.

Returns

Applies to