Compartir a través de


Serialize Método (String)

Serializes the package to the file system.

Espacio de nombres:  Microsoft.MasterDataServices.Deployment
Ensamblado:  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Sintaxis

'Declaración
Public Sub Serialize ( _
    packageFileName As String _
)
'Uso
Dim instance As Package
Dim packageFileName As String

instance.Serialize(packageFileName)
public void Serialize(
    string packageFileName
)
public:
void Serialize(
    String^ packageFileName
)
member Serialize : 
        packageFileName:string -> unit 
public function Serialize(
    packageFileName : String
)

Parámetros

  • packageFileName
    Tipo: System. . :: . .String
    Full path and file name specifying where to save the package file.

Comentarios

Serialize throws ArgumentNullException if packageFileName is null Nothing nullptr unit es una referencia NULL (Nothing en Visual Basic). or empty.

Serialize throws DeploymentException if validation of the package fails.