Urn.GetAttribute-Methode (String, String)
Gets a property value specified by attributeName and type. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Function GetAttribute ( _
attributeName As String, _
type As String _
) As String
'Usage
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
Parameter
- attributeName
Typ: System.String
A string value that specifies the attribute name.
- type
Typ: System.String
A string value that specifies the level name.
Rückgabewert
Typ: System.String
A string that contains the property value.