共用方式為


Name 屬性

Gets or sets the name of the numbered stored procedure.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
<SfcKeyAttribute()> _
Public Overrides Property Name As String
    Get
    Set
'用途
Dim instance As NumberedStoredProcedure
Dim value As String

value = instance.Name

instance.Name = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
[SfcKeyAttribute()]
public override string Name { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
[SfcKeyAttribute()]
public:
virtual property String^ Name {
    String^ get () override;
    void set (String^ value) override;
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
[<SfcKeyAttribute()>]
abstract Name : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
[<SfcKeyAttribute()>]
override Name : string with get, set
override function get Name () : String
override function set Name (value : String)

屬性值

型別:System. . :: . .String
A String value that specifies the name of the numbered stored procedure.