共用方式為


SqlPropertyCollection.GetPropertyInfo 方法

Gets property information.

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

語法

'宣告
Public Function GetPropertyInfo ( _
    name As String _
) As SqlPropertyInfo
'用途
Dim instance As SqlPropertyCollection 
Dim name As String 
Dim returnValue As SqlPropertyInfo 

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

參數

傳回值

型別:Microsoft.SqlServer.Management.Smo.SqlPropertyInfo
A SqlPropertyInfo object value that specifies the property information for the referenced object.

範例

使用集合

請參閱

參考

SqlPropertyCollection 類別

Microsoft.SqlServer.Management.Smo 命名空間