ISfcPropertySet.TryGetPropertyValue Método (String, Object%)
Attempts to get the property value. 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
Function TryGetPropertyValue ( _
name As String, _
<OutAttribute> ByRef value As Object _
) As Boolean
'Uso
Dim instance As ISfcPropertySet
Dim name As String
Dim value As Object
Dim returnValue As Boolean
returnValue = instance.TryGetPropertyValue(name, _
value)
bool TryGetPropertyValue(
string name,
out Object value
)
bool TryGetPropertyValue(
String^ name,
[OutAttribute] Object^% value
)
abstract TryGetPropertyValue :
name:string *
value:Object byref -> bool
function TryGetPropertyValue(
name : String,
value : Object
) : boolean
Parámetros
- name
Tipo: System.String
The name of the property.
- value
Tipo: System.Object%
An ISfcProperty object that represents property value.
Valor devuelto
Tipo: System.Boolean
true if the property value is successfully retrieved; otherwise, false.