Urn.GetAttribute 方法 (String, String)
Gets a property value specified by attributeName and type. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Function GetAttribute ( _
attributeName As String, _
type As String _
) As String
'用途
Dim instance As Urn
Dim attributeName As String
Dim type As String
Dim returnValue As String
returnValue = instance.GetAttribute(attributeName, _
type)
public string GetAttribute(
string attributeName,
string type
)
public:
String^ GetAttribute(
String^ attributeName,
String^ type
)
member GetAttribute :
attributeName:string *
type:string -> string
public function GetAttribute(
attributeName : String,
type : String
) : String
參數
- attributeName
型別:System.String
A string value that specifies the attribute name.
- type
型別:System.String
A string value that specifies the level name.
傳回值
型別:System.String
A string that contains the property value.