Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Indicates the accessor for the property by name and usage, (for internal use). No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Protected Function TryGetProperty ( _
name As String, _
usage As ObjectPropertyUsages _
) As ObjectProperty
'Uso
Dim name As String
Dim usage As ObjectPropertyUsages
Dim returnValue As ObjectProperty
returnValue = Me.TryGetProperty(name, _
usage)
protected ObjectProperty TryGetProperty(
string name,
ObjectPropertyUsages usage
)
protected:
ObjectProperty^ TryGetProperty(
String^ name,
ObjectPropertyUsages usage
)
member TryGetProperty :
name:string *
usage:ObjectPropertyUsages -> ObjectProperty
protected function TryGetProperty(
name : String,
usage : ObjectPropertyUsages
) : ObjectProperty
Parámetros
- name
Tipo: System.String
The name of the property.
- usage
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ObjectPropertyUsages
The intended usage.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ObjectProperty
Null if the property does not meet the usage requirements or does not exist, else the corresponding property object.