StoredProcedure.Owner Property
Gets or sets the owner of the stored procedure.
This API is not CLS-compliant.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)] [CLSCompliantAttribute(false)] [SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", new string[] { ... })] [SfcReferenceAttribute(typeof(DatabaseRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/Role[@Name = '{2}']", new string[] { ... })] [SfcReferenceAttribute(typeof(ApplicationRole), "Server[@Name = '{0}']/Database[@Name = '{1}']/ApplicationRole[@Name = '{2}']", new string[] { ... })] public string Owner { get; set; }
Property Value
Type: System.StringA String value that specifies the login name of the stored procedures owner.
Show: