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.