SfcPropertyCollection.TryGetPropertyValue Método (String, Object%)
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
Public Function TryGetPropertyValue ( _
propertyName As String, _
<OutAttribute> ByRef value As Object _
) As Boolean
'Uso
Dim instance As SfcPropertyCollection
Dim propertyName As String
Dim value As Object
Dim returnValue As Boolean
returnValue = instance.TryGetPropertyValue(propertyName, _
value)
public bool TryGetPropertyValue(
string propertyName,
out Object value
)
public:
virtual bool TryGetPropertyValue(
String^ propertyName,
[OutAttribute] Object^% value
) sealed
abstract TryGetPropertyValue :
propertyName:string *
value:Object byref -> bool
override TryGetPropertyValue :
propertyName:string *
value:Object byref -> bool
public final function TryGetPropertyValue(
propertyName : String,
value : Object
) : boolean
Parámetros
- propertyName
Tipo: System.String
A string that represents the property name.
- value
Tipo: System.Object%
The value of the object.
Valor devuelto
Tipo: System.Boolean
true if the Property tries to get the property value; otherwise, false.
Implementa
ISfcPropertySet.TryGetPropertyValue(String, Object%)