ServerRoleExtender.OwnerForUI Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This property is used in Server Role relational engine task UI. If someone sets Owner property to string.Empty, that means Owner is dirty and is not null. At that point SMO also scripts the Authorization-part of create T-SQL. Hence, we set Owner property to 'null' in that case, just before Create() in order to skip scripting Authorization-part of Create T-SQL.
[Microsoft.SqlServer.Management.Sdk.Sfc.ExtendedProperty]
public string OwnerForUI { get; set; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.ExtendedProperty>]
member this.OwnerForUI : string with get, set
Public Property OwnerForUI As String
Property Value
- Attributes