共用方式為


PropertyCollection.GetPropertyObject 方法 (String)

Gets the Property object.

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

語法

'宣告
Public Function GetPropertyObject ( _
    name As String _
) As Property
'用途
Dim instance As PropertyCollection 
Dim name As String 
Dim returnValue As [Property]

returnValue = instance.GetPropertyObject(name)
public Property GetPropertyObject(
    string name
)
public:
Property^ GetPropertyObject(
    String^ name
)
member GetPropertyObject : 
        name:string -> Property
public function GetPropertyObject(
    name : String
) : Property

參數

傳回值

型別:Microsoft.SqlServer.Management.Smo.Property
A Property object value that specifies the property.

範例

使用集合

請參閱

參考

PropertyCollection 類別

GetPropertyObject 多載

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

使用集合