StoredProcedure.Owner StoredProcedure.Owner StoredProcedure.Owner Property

Definition

Important

This API is not CLS-compliant.

Gets or sets the owner of the stored procedure.

public:
 property System::String ^ Owner { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Design)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", Mono.Cecil.CustomAttributeArgument[])]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.DatabaseRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/Role[@Name = '{2}']", Mono.Cecil.CustomAttributeArgument[])]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.ApplicationRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/ApplicationRole[@Name = '{2}']", Mono.Cecil.CustomAttributeArgument[])]
[System.CLSCompliant(false)]
public string Owner { get; set; }
Public Property Owner As String
Property Value

A String value that specifies the login name of the stored procedures owner.

Applies to